import axios from 'axios';

export function searchCatalog(param) {
    return axios({
        method: 'get',
        url: '/completedCatalog/search',
        params: param,
        headers: {
            'Cache-Control': 'no-cache'
        }
    })
}


export function deleteCatalog(param) {
    return axios({
        method: 'post',
        url: '/completedCatalog/deleteCatalog',
        data: param,
        headers: {
            'Cache-Control': 'no-cache'
        }
    })
}

export function searchCollate(param) {
    return axios({
        method: 'get',
        url: '/completedCollate/search',
        params: param,
        headers: {
            'Cache-Control': 'no-cache'
        }
    })
}


export function deleteCollate(param) {
    return axios({
        method: 'post',
        url: '/completedCollate/delete',
        data: param,
        headers: {
            'Cache-Control': 'no-cache'
        }
    })
}


